package com.totcy.atom.bean;

import java.util.List;

/**
 * description : 和风天气 基类实体
 *
 * @author : Totcy
 * @date : 2018/1/19 17:19
 * @update : 2018/1/19
 */

public class HeWeatherBase {


    //基础地址信息
    private HeWeatherAddress basic;
    // 实况天气、
    private HeWeatherNow now;
    //生活指数
    private List<HeWeatherLifeStyle> lifestyle;
    // 逐小时预报
    private List<HeWeatherHourly> hourly;
    //3-7天天气预报、
    private List<HeWeatherDailyForecast> daily_forecast;

    public HeWeatherAddress getBasic() {
        return basic;
    }

    public void setBasic(HeWeatherAddress basic) {
        this.basic = basic;
    }

    public HeWeatherNow getNow() {
        return now;
    }

    public void setNow(HeWeatherNow now) {
        this.now = now;
    }

    public List<HeWeatherLifeStyle> getLifestyle() {
        return lifestyle;
    }

    public void setLifestyle(List<HeWeatherLifeStyle> lifestyle) {
        this.lifestyle = lifestyle;
    }

    public List<HeWeatherHourly> getHourly() {
        return hourly;
    }

    public void setHourly(List<HeWeatherHourly> hourly) {
        this.hourly = hourly;
    }

    public List<HeWeatherDailyForecast> getDaily_forecast() {
        return daily_forecast;
    }

    public void setDaily_forecast(List<HeWeatherDailyForecast> daily_forecast) {
        this.daily_forecast = daily_forecast;
    }

    /**
     * status : ok
     * update : {"loc":"2017-10-26 23:09","utc":"2017-10-26 15:09"}
     */

    private String status;
    private UpdateBean update;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public UpdateBean getUpdate() {
        return update;
    }

    public void setUpdate(UpdateBean update) {
        this.update = update;
    }

    public static class UpdateBean {
        /**
         * loc : 2017-10-26 23:09
         * utc : 2017-10-26 15:09
         */

        private String loc;
        private String utc;

        public String getLoc() {
            return loc;
        }

        public void setLoc(String loc) {
            this.loc = loc;
        }

        public String getUtc() {
            return utc;
        }

        public void setUtc(String utc) {
            this.utc = utc;
        }
    }
}
